There's no reason to do our expensive round-trips for an override-redirect
window; just use local information. See bug 581145. Patch by Owen Taylor.
{
GdkDisplay *display;
GdkWindowObject *private;
+ GdkWindowImplX11 *impl;
Window xwindow;
Window xparent;
Window root;
rect->y = private->y;
gdk_drawable_get_size ((GdkDrawable *)private, &rect->width, &rect->height);
- if (GDK_WINDOW_DESTROYED (private))
+ impl = GDK_WINDOW_IMPL_X11 (private->impl);
+ if (GDK_WINDOW_DESTROYED (private) || impl->override_redirect)
return;
nvroots = 0;